docs: Tweak wording
authorMatthias Clasen <mclasen@redhat.com>
Sat, 19 Jun 2021 15:01:57 +0000 (08:01 -0700)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 19 Jun 2021 15:03:47 +0000 (08:03 -0700)
Instead of drag'n'drop, say drag-and-drop. That is easier
to read, and less unclear on the markdown syntax implications.

demos/gtk-demo/peg_solitaire.c
gdk/gdkdrop.c
gtk/gtkdragicon.c

index 4fe4f11d447e21242238e3ca2e3fe17d72eb7331..0f5761408c60a57bb3facaa68c71abf7230cb516 100644 (file)
@@ -1,7 +1,7 @@
 /* Peg Solitaire
  * #Keywords: GtkGridView, game
  *
- * This demo demonstrates how to use drag'n'drop to implement peg solitaire.
+ * This demo demonstrates how to use drag-and-drop to implement peg solitaire.
  *
  */
 
@@ -98,7 +98,7 @@ solitaire_peg_init (SolitairePeg *peg)
 
 /* Add a little setter for the peg's position.
  * We want to track those so that we can check for legal moves
- * during drag'n'drop operations.
+ * during drag-and-drop operations.
  */
 static void
 solitaire_peg_set_position (SolitairePeg *peg,
index 37a63c5a7b553a5efd712c07da8c2cc96d862de8..fc70822cb077bcba415b5c4508ff56b20ad768c2 100644 (file)
@@ -574,7 +574,7 @@ gdk_drop_get_drag (GdkDrop *self)
  * the ones provided by [method@Gdk.Drop.get_actions]. Those actions may
  * change in the future, even depending on the actions you provide here.
  *
- * The @preferred action is a hint to the drag'n'drop mechanism about which
+ * The @preferred action is a hint to the drag-and-drop mechanism about which
  * action to use when multiple actions are possible.
  *
  * This function should be called by drag destinations in response to
@@ -865,7 +865,7 @@ gdk_drop_read_value_internal (GdkDrop             *self,
  * then call [method@Gdk.Drop.read_value_finish] to get the resulting
  * `GValue`.
  *
- * For local drag'n'drop operations that are available in the given
+ * For local drag-and-drop operations that are available in the given
  * `GType`, the value will be copied directly. Otherwise, GDK will
  * try to use [func@Gdk.content_deserialize_async] to convert the data.
  */
index 0b37d59119b0444ac68f83be764ab69caaabcb87..b8b31671f997f17f321b94aa9b64e34a19be5f98 100644 (file)
@@ -512,7 +512,7 @@ gtk_drag_icon_get_child (GtkDragIcon *self)
  * If GTK does not know how to create a widget for a given value,
  * it will return %NULL.
  *
- * This method is used to set the default drag icon on drag'n'drop
+ * This method is used to set the default drag icon on drag-and-drop
  * operations started by `GtkDragSource`, so you don't need to set
  * a drag icon using this function there.
  *